package cn.pzhuweb.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author KK
 * @create 2022/3/23 20:27
 */
@Controller
public class HomeController {

    @RequestMapping("/hello")
    public String hello() {
        return "index";
    }

    @RequestMapping("/target")
    public String target() {
        return "target";
    }

}
